package cn.bocweb.spinning.view.activity;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import butterknife.Bind;
import butterknife.ButterKnife;
import cn.bocweb.spinning.R;
import cn.bocweb.spinning.view.common.BaseActivity;

public class ChargeNoteDetailActivity extends BaseActivity {

    @Bind(R.id.toolbar)
    Toolbar toolbar;
    @Bind(R.id.img)
    ImageView img;
    @Bind(R.id.product)
    TextView product;
    @Bind(R.id.integral)
    TextView integral;
    @Bind(R.id.is_charge)
    TextView isCharge;
    @Bind(R.id.btn_submit)
    Button btnSubmit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_charge_note_detail);
        ButterKnife.bind(this);
        loadData();
    }

    private void loadData() {
        toolbar.setTitle("兑换记录");
        toolbar.setTitleTextColor(getResources().getColor(R.color.white));
        toolbar.setNavigationIcon(R.mipmap.ic_launcher);
    }
}
